package com.sxj.PDMS.mapper;

import com.sxj.PDMS.model.entity.FullPartyMemberInformationList;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxj.PDMS.model.vo.FullPartyMemberInformationListVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.sql.Date;
import java.util.List;

/**
* @author 503c'j
* @description 针对表【full_party_member_information_list(正式党员信息列表)】的数据库操作Mapper
* @createDate 2024-06-16 14:52:25
* @Entity com.sxj.PDMS.model.entity.FullPartyMemberInformationList
*/
public interface FullPartyMemberInformationListMapper extends BaseMapper<FullPartyMemberInformationList> {

    public Long selectTotal();

    /**
     * 查询所有数据,分页展示
     *
     * @param start
     * @param pageSize
     * @return
     */
    public List<FullPartyMemberInformationListVO> selectAll(@Param("start") Integer start, @Param("pageSize") Integer pageSize);

    public List<FullPartyMemberInformationListVO> selectByNumberOrName(@Param("start") Integer start,
                                                                     @Param("pageSize") Integer pageSize,
                                                                     @Param("studentNumber") String studentNumber,
                                                                     @Param("name") String name);
    public Long selectTotalByNumberOrName(@Param("studentNumber") String studentNumber,
                                          @Param("name") String name);

    List<FullPartyMemberInformationListVO> selectAllStudentAndDownload(@Param("studentNumber") String studentNumber,
                                                                       @Param("name") String name);
}




